package com.gemme.gemme.login;

import java.util.List;

public class UseInfoBean {


    /**
     * access_token : d455d4bf-2098-4e29-91af-0068d1b74ced
     * token_type : bearer
     * refresh_token : 58ae4037-2407-4dba-b528-0a065e30048e
     * expires_in : 38488
     * scope : server
     * license : made by gemme
     * active : true
     * user_info : {"password":null,"username":"13515600376","authorities":[],"accountNonExpired":true,"accountNonLocked":true,"credentialsNonExpired":true,"enabled":0,"id":null,"formId":0,"nickname":null,"birthday":null,"signature":null,"headImgUrl":null,"mobile":"13515600376","sex":null,"type":null,"createTime":"2020-06-22 15:13:38","updateTime":"2020-06-22 15:13:38","openId":null,"hobby":null,"wxId":null,"wechatId":null,"sinaAuthId":null,"sinaId":null,"sort":null,"createBy":null,"updateBy":null,"delFlag":0,"remarks":null,"prefix":"MOBILE#"}
     */

    private String access_token;
    private String token_type;
    private String refresh_token;
    private int expires_in;
    private String scope;
    private String license;
    private boolean active;
    private UserInfoBean user_info;

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getToken_type() {
        return token_type;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public void setRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public UserInfoBean getUser_info() {
        return user_info;
    }

    public void setUser_info(UserInfoBean user_info) {
        this.user_info = user_info;
    }

    public static class UserInfoBean {
        /**
         * password : null
         * username : 13515600376
         * authorities : []
         * accountNonExpired : true
         * accountNonLocked : true
         * credentialsNonExpired : true
         * enabled : 0
         * id : null
         * formId : 0
         * nickname : null
         * birthday : null
         * signature : null
         * headImgUrl : null
         * mobile : 13515600376
         * sex : null
         * type : null
         * createTime : 2020-06-22 15:13:38
         * updateTime : 2020-06-22 15:13:38
         * openId : null
         * hobby : null
         * wxId : null
         * wechatId : null
         * sinaAuthId : null
         * sinaId : null
         * sort : null
         * createBy : null
         * updateBy : null
         * delFlag : 0
         * remarks : null
         * prefix : MOBILE#
         */

        private Object password;
        private String username;
        private boolean accountNonExpired;
        private boolean accountNonLocked;
        private boolean credentialsNonExpired;
        private int enabled;
        private String id;
        private int formId;
        private Object nickname;
        private Object birthday;
        private Object signature;
        private Object headImgUrl;
        private String mobile;
        private Object sex;
        private Object type;
        private String createTime;
        private String updateTime;
        private Object openId;
        private Object hobby;
        private Object wxId;
        private Object wechatId;
        private Object sinaAuthId;
        private Object sinaId;
        private Object sort;
        private Object createBy;
        private Object updateBy;
        private int delFlag;
        private Object remarks;
        private String prefix;
        private List<?> authorities;

        public Object getPassword() {
            return password;
        }

        public void setPassword(Object password) {
            this.password = password;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public boolean isAccountNonExpired() {
            return accountNonExpired;
        }

        public void setAccountNonExpired(boolean accountNonExpired) {
            this.accountNonExpired = accountNonExpired;
        }

        public boolean isAccountNonLocked() {
            return accountNonLocked;
        }

        public void setAccountNonLocked(boolean accountNonLocked) {
            this.accountNonLocked = accountNonLocked;
        }

        public boolean isCredentialsNonExpired() {
            return credentialsNonExpired;
        }

        public void setCredentialsNonExpired(boolean credentialsNonExpired) {
            this.credentialsNonExpired = credentialsNonExpired;
        }

        public int getEnabled() {
            return enabled;
        }

        public void setEnabled(int enabled) {
            this.enabled = enabled;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getFormId() {
            return formId;
        }

        public void setFormId(int formId) {
            this.formId = formId;
        }

        public Object getNickname() {
            return nickname;
        }

        public void setNickname(Object nickname) {
            this.nickname = nickname;
        }

        public Object getBirthday() {
            return birthday;
        }

        public void setBirthday(Object birthday) {
            this.birthday = birthday;
        }

        public Object getSignature() {
            return signature;
        }

        public void setSignature(Object signature) {
            this.signature = signature;
        }

        public Object getHeadImgUrl() {
            return headImgUrl;
        }

        public void setHeadImgUrl(Object headImgUrl) {
            this.headImgUrl = headImgUrl;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public Object getSex() {
            return sex;
        }

        public void setSex(Object sex) {
            this.sex = sex;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Object getOpenId() {
            return openId;
        }

        public void setOpenId(Object openId) {
            this.openId = openId;
        }

        public Object getHobby() {
            return hobby;
        }

        public void setHobby(Object hobby) {
            this.hobby = hobby;
        }

        public Object getWxId() {
            return wxId;
        }

        public void setWxId(Object wxId) {
            this.wxId = wxId;
        }

        public Object getWechatId() {
            return wechatId;
        }

        public void setWechatId(Object wechatId) {
            this.wechatId = wechatId;
        }

        public Object getSinaAuthId() {
            return sinaAuthId;
        }

        public void setSinaAuthId(Object sinaAuthId) {
            this.sinaAuthId = sinaAuthId;
        }

        public Object getSinaId() {
            return sinaId;
        }

        public void setSinaId(Object sinaId) {
            this.sinaId = sinaId;
        }

        public Object getSort() {
            return sort;
        }

        public void setSort(Object sort) {
            this.sort = sort;
        }

        public Object getCreateBy() {
            return createBy;
        }

        public void setCreateBy(Object createBy) {
            this.createBy = createBy;
        }

        public Object getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(Object updateBy) {
            this.updateBy = updateBy;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public Object getRemarks() {
            return remarks;
        }

        public void setRemarks(Object remarks) {
            this.remarks = remarks;
        }

        public String getPrefix() {
            return prefix;
        }

        public void setPrefix(String prefix) {
            this.prefix = prefix;
        }

        public List<?> getAuthorities() {
            return authorities;
        }

        public void setAuthorities(List<?> authorities) {
            this.authorities = authorities;
        }
    }
}
